package com.example.sppmode.Common;


public class AllParam {
    /** APP信息，APP name， APP软件版本等 */
    private static final AppInfo appInfo = new AppInfo();

    /** 配对信息 */
    private static final PairedDevMgr pairedDevInfo = new PairedDevMgr();

    /** 连接设备协议类型 */
    private static int connProtocolType = DataConfig.CONN_PROTOCOL_SPP;   //DevConnMgr.CONN_PROTOCOL_BLE， DevConnMgr.CONN_PROTOCOL_SPP

    public static boolean showLogo = false;

    public static void initAllParam() {
        appInfo.initData();
        pairedDevInfo.initData();

    }

    public static AppInfo getAppInfo() {
        return appInfo;
    }

    public static PairedDevMgr getPairedDevInfo() {
        return pairedDevInfo;
    }

    public static int getConnProtocolType() {
        return connProtocolType;
    }

    public static void setConnProtocolType(int type) {
        connProtocolType = type;
    }

}
